package edu.msg.jthr.backend.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "ROLE")
public class Role extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@Column(name = "ROLENAME")
	private String roleName;

	public Role() {
	}

	public Role(long id, String uuid, String roleName) {
		super(id, uuid);
		this.roleName = roleName;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	@Override
	public String toString() {
		return roleName;
	}

}
